package com.example.logindemo.Mapper;

import com.example.logindemo.Pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    User getUser(String userName);

    Integer addUser(User user);

    User selectByPhone(String phone);

    User selectByUserNameUser(String userName);

    String selectRoleByUserName(String userName);

}
